package com.baba.bracelet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author wulongbo
 * @version 1.0
 * @date 2020/6/12 16:03
 * @description
 */
@Data
@TableName("tbl_picture")//@TableName中的值对应着表名
@ApiModel(value = "图片上传")
public class PictureEntity {
    /**
     * 主键id，UUID
     */
    @ApiModelProperty(value = "主键id", name = "id")
    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 设备IMEI号,固定15位
     */
    @ApiModelProperty(value = "设备IMEI号,固定15位", name = "imei")
    private String imei;


    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址",name = "url")
    private String url;

    /**
     * 运动记录上传时间
     */
    @ApiModelProperty(value = "运动记录上传时间",name = "create_time")
    private Date createTime;
}
